package homeWork.Object_Pra;

public class Train extends Vehicle2{
    @Override
    public void move(){
        System.out.println("火车正在铁路上行驶");
    }

    public static void main(String[] args) {
        Train t = new Train();
        t.move();
    }
}
